interface ViewInfo {
    view?: number;
}

interface CommentInfo {
    comment?: number;
}

interface LikeInfo {
    like?: number;
}


interface Comment {
    // 评论者ID
    id: string;
    // 回复id
    replyId?: string;
    // 评论者名称
    name: string;
    // 评论内容
    content: string;
    // 评论日期
    date: string;
}

interface ArticleComment extends Comment {
    // 文章ID
    articleId: string;
}


export {
    Comment,
    ArticleComment,
    ViewInfo,
    CommentInfo,
    LikeInfo
};